package csw.model;

public class DepartVO {
	

	private String depart;
	private String tel;
	private String position;
	private String chief;
	private String hiredate;
	
	public DepartVO(String depart, String tel, String position, String chief, String hiredate) {
		this.depart = depart;
		this.depart = tel;
		this.depart = position;
		this.depart = chief;
		this.depart = hiredate;
	}
	
	//private xxx yyy;
	//public void setYyy(xxx yyy){
	// this.yyy=yyy;
	//}
	// set 메소드 만드는 규칙
	
	public void setDepart(String depart){
		this.depart = depart;
	}
	public void setTel(String tel){
		this.tel = tel;
	}
	public void setPosition(String position){
		this.position = position;
	}
	public void setChief(String chief){
		this.chief = chief;
	}
	public void setHiredate(String hiredate){
		this.hiredate = hiredate;
	}
	
	//private xxx yyy
	//public xxx getYyy(){
	// return yyy;
	//}
	public String getDepart(){
		return depart;
	}
	public String getTel(){
		return tel;
	}
	public String getPosition(){
		return position;
	}
	public String getChief(){
		return chief;
	}
	public String getHiredate(){
		return hiredate;
	}

 @Override
public String toString() {
	 String result = "";
	 result += depart + "/" + tel + "/" + position + "/" + chief + "/" + hiredate;
	return result;
 	}
}
